﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ctrlCambiarContrasena.ascx.cs" Inherits="Rendiciones.Web.usercontrols.ctrlCambiarContrasena" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Button ID="btnClave" runat="server" Style="display: none" />
<asp:ModalPopupExtender ID="mpeClave"  TargetControlID="btnClave" PopupControlID="upClave" BackgroundCssClass="vs12_light_opacity" runat="server"/>
<asp:UpdatePanel runat="server" ID="upClave">
    <ContentTemplate>
        <div class="vs12_light_form vs12_light_form_modal" style="width:400px;" runat="server" id="pnlClave">
            <div class="title">
                <p><asp:Label runat="server" ID="lblTitulo" Text="Cambiar Contraseña"></asp:Label></p>
            </div>
            <div class="vs12_light_contenedorMsg" runat="server" id="ErroresClave">
                <table style="width: 100%">
                    <tr>
                        <td style="width:24px; vertical-align: top">
                            <asp:Image ID="ImgErroresClave" runat="server" ImageUrl="~/img/icons/Mensaje/icoError.png"/> 
                        </td>
                        <td>
                            <asp:Label ID="lblErroresClave" runat="server" Text=""/>
                        </td>
                    </tr>
                </table>
            </div>   
            <div class="content">
                <table>
                    <tr>
                        <td><label>Nombre usuario</label></td>
                        <td><strong><asp:Label runat="server" ID="lblNombreUsuario" Text=""></asp:Label></strong></td>
                    </tr>
                    <tr>
                        <td><label for="<%= txtPassword1.ClientID %>">Contraseña</label></td>
                        <td><asp:TextBox runat="server" ID="txtPassword1" CssClass="o2k7b_textbox" width="200px" MaxLength="50" TextMode="Password"/></td>
                    </tr>
                    <tr>
                        <td><label for="<%= txtPassword2.ClientID %>">Repita Contraseña</label></td>
                        <td>
                            <asp:TextBox runat="server" ID="txtPassword2" CssClass="o2k7b_textbox" width="200px" MaxLength="50" TextMode="Password"/>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" class="center">
                            <br />
                            <asp:Button ID="btnCambiar" runat="server" CssClass="boton w100" Text="Cambiar" OnClick="BtnCambiarClick" />
                            <asp:Button ID="btnCancelar" runat="server" CssClass="boton w100" Text="Cancelar" OnClick="BtnCancelarClick" />
                        </td>
                    </tr>
                </table>
            </div>
            <div class="h30"></div>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>